package day1220;

public class UserData {
    private int id;//用户编号
    private String username;//用户账号
    private String password;//用户密码
    //右键    generate        getter and  setter

    public UserData(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public UserData() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}






